The following paragraphs describe some of DocViewer's search features.
DocViewer provides several ways to navigate within and among documents:
- The Table of Contents window (in the Outlines menu) displays the table of
contents for the active document. You can go to a chapter or section by
double-clicking a line in its Table of Contents. You can have several Table of
Contents windows open at one time, giving you quick access to different
documents. You can filter the lines in a Table of Contents so that they appear
only if they contain a specified keyword. See "Filtering the Book Index or the
Table of Contents," later in this chapter.
- The book index (in the Outlines menu) displays the index for the active
document. Double-clicking an index entry takes you to that reference in the
document. You can filter entries in the book index so that they appear only if
they contain a specified keyword. See "Filtering the Book Index or the Table of
Contents," later in this chapter.
- The Bookmarks pop-up menu (in the upper-left corner of the document window)
displays labels you have given to specific places in the document. You can go
to the labeled text by choosing the label in the menu. See "Creating and Using
Bookmarks," later in this chapter.
- The Search menu lets you search the text of the active document for specific
words or phrases. It also lets you query one or more documents for complex word
combinations and constructs a list of all the places where they occur.
- The Navigation menu provides several ways to find specific pages or sections
in the active document.
- The Query dialog box displays all the instances of a word or phrase in a
document or group of documents. Double-clicking a query line takes you to the
text where the word or phrase occurs.
To see the Table of Contents that DocViewer creates for the active document,
choose Open Table of Contents in the Outlines menu.
Every line in a Table of Contents is a section in a document. A triangle
appears to the left of any section that contains subsections. You can use the
Table of Contents as follows:
- Double-clicking a name takes you to that section or element (such as a figure
or table). You can also click the name to select it and then press Enter.
- Clicking a right-pointing triangle shows the subsections within that
section.
- Clicking a downward-pointing triangle hides the subsections of that
section.
To show the entire Table of Contents, choose Expand All from the Outlines menu.
To hide it, choose Collapse All.
To change the document levels displayed when a Table of Contents is expanded,
choose Table of Contents Level from the Outlines menu.
To see the index that DocViewer creates for the active document, choose Open
Book Index from the Outlines menu.
The index opens in collapsed form, showing only index letters. To use the
index:
- To see the subentries for one letter or entry, click the right-pointing
triangle beside that letter.
- To collapse index entries, click a downward-pointing triangle.
- To expand the whole index, choose Expand All from the Outlines menu. To
collapse it, choose Collapse All.
- To go to the first occurrence of an entry, double-click the entry.
- To go to subsequent occurrences, choose Next Reference from the Outlines
menu. To go backward, hold down the Shift key while you choose Next Reference.
At the bottom of a book index, Table of Contents, or collection window is a
Filter box. To see only those entries that contain a certain word or phrase (a
keyword):
- Type the keyword in the Filter box, then click the Apply button in the
lower-right corner of the window.
Lines in the index, Table of Contents, or collections that don't contain
that keyword disappear.
To restore the full list:
To find a specific page, click the page number at the bottom of the DocViewer
window. The Go To dialog box appears, which allows you to enter a page number
to go to.
When you choose Find from the Search menu, a dialog box appears. You can enter
text characters and ask DocViewer to find the first occurrence of that text
beyond the current selection or insertion point in the document.
When you choose Find Selection from the Search menu, DocViewer searches forward
for any currently selected text.
If you hold down the Shift key while choosing Find Again or Find Selection,
DocViewer searches backward.
To stop a lengthy Find operation, press Command-period.
You can attach your own labels to places in the active document by using
commands in the Bookmark menu:
- Select text or a figure caption in the active document.
- Choose Set from the Bookmark menu.
Up to 63 characters of the selected text appear as the default label in
the Set Bookmark dialog box.
- If you want a different label (up to 63 characters long), type it in the
dialog box's text field.
- Click the Set button.
Your bookmark appears in the Bookmarks pop-up menu that appears when you
click Bookmarks in the upper-left corner of the document window. Choosing a
line in the Bookmarks pop-up menu takes you to the page you marked and
highlights the text you labeled.
To delete a bookmark, do the following:
- Choose Delete from the Bookmark menu (in the menu bar).
- In the dialog box that appears, click the name of the bookmark you want
to delete, then click the Delete button.
To list all bookmarks alphabetically (including new ones), do the
following:
- Choose Alphabetical from the Bookmark menu in the menu bar.